import { Injectable } from '@angular/core'
import { NavState } from '../common/const/nav-state.const'

@Injectable()
export class AppStateService {
  private _navState: string
  private _activedMenu: string


  public get activedMenu(): string {
    return this._activedMenu
  }
  public set activedMenu(value: string) {
    this._activedMenu = value
  }

  public get navState(): string {
    return this._navState
  }
  public set navState(value: string) {
    this._navState = value
  }

  constructor() {
    this.navState = NavState.ANONYMOUS
  }

}
